﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace GNF.GNFService.GNFServer
{
    /// <summary>
    /// A server using the IGPSDataContract (can Subscribe and Unsubscribe), and a callback that send a dated GPSData
    /// </summary>
    [ServiceContract(CallbackContract = typeof(IGPSDataCallback), SessionMode = SessionMode.Required)]
    public interface IGPSDataContract
    {
        [OperationContract]
        bool Subscribe();
        [OperationContract]
        bool Unsubscribe();
    }
      
}
